<!DOCTYPE html>
<html>
<head>
	<title>案例库</title>
	<meta name="viewport" charset="utf-8" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
	<link rel="stylesheet" type="text/css" href="/css/pages/front/public.css">
	<link rel="stylesheet" type="text/css" href="/css/pages/front/list.css">
	<script type="text/javascript" src="/lib/js/jquery-1.11.2.min.js"></script>
	<script type="text/javascript" src="/lib/js/jquery.SuperSlide.2.1.1.js"></script>
	<script type="text/javascript" src="/js/pages/front/list.js"></script>
	<script type="text/javascript" src="/js/pages/front/more.js"></script>
</head>
<body>
	<div class="case_div">
		<div class="screen_div">
			<div class="rols_div">
				<div class="label_div">年龄：</div>
				<div class="input_div">
					<input id="age" type="text" name="" value="{{isset($request['age'])?$request['age']:''}}">
				</div>
				<div class="unit_div">
					岁
				</div>
				<div class="label_div">性别：</div>
				<div class="input_div">
					<input type="radio" name="sex" value="1"
					@if(isset($request['sex']))
						@if($request['sex'] == true)
							checked="checked"
						@endif
					@endif
					><div class="sex_word" >男</div>
					<input type="radio" name="sex" value="0"
					@if(isset($request['sex']))
						@if($request['sex'] == false)
							checked="checked"
						@endif
					@endif
					><div class="sex_word">女</div>
				</div>
				<div class="label_div">体重：</div>
				<div class="input_div">
					<input id="weight" type="text" name="" value="{{isset($request['weight'])?$request['weight']:''}}">
				</div>
				<div class="unit_div">
					公斤
				</div>
				<div class="label_div">BMI：</div>
				<div class="input_div">
					<input id="bmi" type="text" name="" value="{{isset($request['bmi'])?$request['bmi']:''}}">
				</div>
				<div class="unit_div">
					
				</div>
				<div class="label_div">地区：</div>
				<div class="input_div">
					<select id="province_id">
						<option value="">--请选择--</option>
						@foreach($provinces as $province)
							<option value="{{$province['id']}}"
							@if(isset($request['province_id']))
								@if($request['province_id'] == $province['id'])
									selected="selected" 
								@endif
							@endif
							>{{$province['province_name']}}</option>
						@endforeach
					</select>
				</div>
				<div class="unit_div">
					
				</div>
				<div class="label_div">发病历：</div>
				<div class="input_div">
					<input id="history" type="text" name="" value="{{isset($request['history'])?$request['history']:''}}">
				</div>
				<div class="unit_div">
					年
				</div>
				<div class="screen_btn">
					点击搜索相关案例
				</div>
			</div>
		</div>
		<div class="list_menu hd">
			<ul>
				<li class="on">减重案例</li>
				<li>糖尿病案例</li>
			</ul>
		</div>
		<div class="list_div">
			<ul class="list_ul">
				<li class="jz_li">
					@foreach($jianZhongCases as $jianZhongCase)
					<a href="/front/details?id={{ $jianZhongCase['id'] }}">
						<div class="case_unit">
							<div class="case_img_div">
								<img src="{{ $jianZhongCase['picture_url'] }}">
							</div>
							<div class="case_title_div">
								{{ $jianZhongCase['title'] }}
								<div class="word">
									>>>
								</div>
							</div>
						</div>
					</a>
					@endforeach
					<div id="jz_more_btn" class="more_div">
						<a href="{{ $jianZhongCases->nextPageUrl() }}"></a>
						<div class="jz_more_word">加载更多</div>
					</div>
				</li>
				<li class="tnb_li">
					@foreach($tangNiaoBingCases as $tangNiaoBingCase)
					<a href="/front/details?id={{ $tangNiaoBingCase['id'] }}">
						<div class="case_unit">
							<div class="case_img_div">
								<img src="{{ $tangNiaoBingCase['picture_url'] }}">
							</div>
							<div class="case_title_div">
								{{ $tangNiaoBingCase['title'] }}
								<div class="word">
									>>>
								</div>
							</div>
						</div>
					</a>
					@endforeach
					<div id="tnb_more_btn" class="more_div tnb_more_btn">
						<a href="{{ $tangNiaoBingCases->nextPageUrl() }}"></a>
						<div class="tnb_more_word">加载更多</div>
					</div>
				</li>
			</ul>
		</div>
		<script type="text/javascript">
		    jQuery(".case_div").slide({mainCell:".list_div ul",effect:"leftLoop",vis:1});
		</script>
		
	</div>
	
</body>
</html>